package com.xgry.bpm.api.base.socketuser.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author adrian
 * @since 2020-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("socket_user")
public class SocketUser extends Model<SocketUser> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "socketId", type = IdType.AUTO)
    private Integer socketId;

    @TableField("messageRemark")
    private String messageRemark;

    @TableField("messageStutas")
    private Integer messageStutas;

    @TableField("socketUser")
    private Integer socketUser;

    @TableField("socketfoUser")
    private Integer socketfoUser;

    @TableField("createTime")
    private String createTime;

    @TableField("socketUserName")
    private String socketUserName;

    @TableField("socketfoUserName")
    private String socketfoUserName;

    private String param;


    @Override
    protected Serializable pkVal() {
        return this.socketId;
    }

}
